package com.gzsj.common.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 *  读取application.yml文件中的自定义的自定义配置
 */
@Component
@ConfigurationProperties(prefix = "app")
public class AppConfig {


    private static String documentPath;

    private static String accessIp;

    public static String getDocumentPath() {
        return documentPath;
    }

    public void setDocumentPath(String documentPath) {
        this.documentPath = documentPath;
    }


    public static String getAccessIp() {
        return accessIp;
    }

    public  void setAccessIp(String accessIp) {
        this.accessIp = accessIp;
    }
}